import random
target = random.randint(1, 100)
while True:
    guess = int(input("请输入数字："))
    if guess > target:
        print("大了")
    elif guess < target:
        print("小了")
    else:
        print(f"恭喜猜中，本轮幸运数字：{target}")
        break